<template>
  <div>
    <van-button v-if="fieldItem.fieldType=='button'">hhkjhk</van-button>
    <van-field v-if="fieldItem.fieldType=='input'" placeholder="请输入用户名" />
  </div>
</template>

<script>
export default {
  name: 'FieldComp',
  props: {
    fieldItem: Object
  }
}
</script>
